package com.xbongbong.sys.model;

import com.xbongbong.sys.domain.entity.DingTalkPayLogEntity;

import java.util.List;
import java.util.Map;

/**
 * @version v1.0
 * @param: $
 * @return: $
 * @auther: youli.chen
 * @date: $ $
 * @since v1.0
 */
public interface DingTalkPayLogModel {

    Integer insert(DingTalkPayLogEntity entity);

    Integer update(DingTalkPayLogEntity entity);

    Integer save(DingTalkPayLogEntity entity);


    Integer deleteByKey( Long key);

    DingTalkPayLogEntity getByKey( Long key);

    List<DingTalkPayLogEntity> findEntitys(Map<String ,Object> param);

    Integer getEntitysCount(Map<String ,Object>  param);

    /**
     * 根据type类型获取所有套餐
     * @param orderType
     * @return java.util.List<com.xbongbong.sys.domain.entity.DingTalkPayLogEntity>
     * @author 石安
     * @date 2020-01-06
     */
    List<DingTalkPayLogEntity> getByOrderType(Integer orderType);
}
